package com.hymall.bean.vo;

import com.hymall.bean.*;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

/**
 * @author: 章鹏
 * @description 加载商品主页面
 * @date: 2022/7/19 19:35
 */
@NoArgsConstructor
@Data
public class WxGoodsDetailVO {

    /**
     * specificationList : [{"name":"规格","valueList":[{"id":32,"goodsId":1023003,"specification":"规格","value":"标准","picUrl":"","addTime":"2018-02-01 00:00:00","updateTime":"2018-02-01 00:00:00","deleted":false}]}]
     * groupon : []
     * issue : [{"id":1,"question":"购买运费如何收取？","answer":"单笔订单金额（不含运费）满88元免邮费；不满88元，每单收取10元运费。\n(港澳台地区需满108)","addTime":"2018-02-01 00:00:00","updateTime":"2022-07-16 17:16:50","deleted":false},{"id":2,"question":"使用什么快递发货？","answer":"严选默认使用顺丰快递发货（个别商品使用其他快递），配送范围覆盖全国大部分地区（港澳台地区除","addTime":"2018-02-01 00:00:00","updateTime":"2018-02-01 00:00:00","deleted":false},{"id":3,"question":"如何申请退货？","answer":"1.自收到商品之日起30日内，顾客可申请无忧退货，退款将原路返还，不同的银行处理时间不同，","addTime":"2018-02-01 00:00:00","updateTime":"2022-07-18 20:08:57","deleted":false},{"id":13,"question":"好吃吗？","answer":"好吃的，请放心购买","addTime":"2022-07-16 21:10:38","updateTime":"2022-07-16 21:10:38","deleted":false}]
     * userHasCollect : 0
     * shareImage :
     * comment : {"data":[{"addTime":"2022-07-19 17:12:49","picList":["http://182.92.235.201:8083/wx/storage/fetch/ybmk0adkn4naavkrxxcq.jpeg"],"adminContent":"","nickname":"user123","id":1051,"avatar":"","content":"dasda"},{"addTime":"2022-07-18 22:32:26","picList":["http://182.92.235.201:8083/wx/storage/fetch/vaujarml3wa0hrkkcxk8.jpg"],"adminContent":"","nickname":"user123","id":1042,"avatar":"","content":"shifenmayi"}],"count":4}
     * share : true
     * attribute : []
     * brand : {}
     * productList : [{"id":33,"goodsId":1023003,"specifications":["标准"],"price":398,"number":5,"url":"http://yanxuan.nosdn.127.net/c39d54c06a71b4b61b6092a0d31f2335.png","addTime":"2018-02-01 00:00:00","updateTime":"2022-07-19 16:08:32","deleted":false}]
     * info : {"id":1023003,"goodsSn":"1023003","name":"100年传世珐琅锅 全家系列","categoryId":1005007,"brandId":0,"gallery":["http://yanxuan.nosdn.127.net/9c9f47d3c321b96ad9c8d658ff4249e1.jpg","http://yanxuan.nosdn.127.net/9c9f47d3c321b96ad9c8d658ff4249e1.jpg","http://yanxuan.nosdn.127.net/9c9f47d3c321b96ad9c8d658ff4249e1.jpg","http://yanxuan.nosdn.127.net/9c9f47d3c321b96ad9c8d658ff4249e1.jpg","http://yanxuan.nosdn.127.net/9c9f47d3c321b96ad9c8d658ff4249e1.jpg"],"keywords":"","brief":"特质铸铁，大容量全家共享","isOnSale":true,"sortOrder":3,"picUrl":"http://yanxuan.nosdn.127.net/c39d54c06a71b4b61b6092a0d31f2335.png","shareUrl":"","isNew":false,"isHot":false,"unit":"只","counterPrice":418,"retailPrice":398,"addTime":"2018-02-01 00:00:00","updateTime":"2018-02-01 00:00:00","deleted":false,"detail":""}
     */

    //是否收藏
    private int userHasCollect;
    //直接返回空
    private String shareImage=new String();
    //评论
    private WxGoodsDetailInnerCommentVO comment;
    //是否允许分享
    private boolean share;
    //品牌制造商
    private MarketBrand brand/*=new MarketBrand()*/;
    //商品信息
    private MarketGoods info;
    //规格规格表
    private List<WXGoodsDetailInnerSpecificationVO> specificationList;
    //团购
    private List<?> groupon=new ArrayList<>();
    //问答
    private List<MarketIssue> issue;
    //商品属性
    private List<MarketGoodsAttribute> attribute;
    //product 下单的商品页
    private List<MarketGoodsProduct> productList;

}
